import {apiConfig, httpServer} from "../serverConfig/serverManager";

export class AbstractService {
  /**
   * @param message
   * @return RequestTask<*>
   * */
  sendMessage(message) {
    const cmd = apiConfig.chat.sendMsg;
    return httpServer.getData(cmd + '?text=' + message, null).then(res => res.data)
  }


}
